package cn.intertion.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableLogic;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * <p>
 * </p>
 *
 * @author ${author}
 * @since 2018-12-19
 */
@TableName("tb_operator")
public class Operator extends Model<Operator> {

    private static final Long serialVersionUID = 1L;
    @TableId(type = IdType.INPUT)
    private String id;
    /**
     * 名称
     */
    private String name;


    @TableField("wechat_status")
    private String wechatStatus;

    public String getWechatStatus() {
        return wechatStatus;
    }

    public void setWechatStatus(String wechatStatus) {
        this.wechatStatus = wechatStatus;
    }

    @TableField("gs_ship_name")
    private String gsShipName;

    public String getGsShipName() {
        return gsShipName;
    }

    public void setGsShipName(String gsShipName) {
        this.gsShipName = gsShipName;
    }

    /**
     * 密码
     */
    private String pwd;
    /**
     * 手机号
     */
    private String mobile;
    /**
     * 备注
     */
    private String remark;
    @TableField("create_time")
    private Date createTime;
    private String creator;
    @TableField("update_time")
    private Date updateTime;
    private String updator;
    private String email;
    /**
     * 船舶id
     */
    @TableField("ship_id")
    private String shipId;

    @TableField("notify_id")
    private Long notifyId;

    public Long getNotifyId() {
        return notifyId;
    }

    public void setNotifyId(Long notifyId) {
        this.notifyId = notifyId;
    }

    /**
     * 自助注册的标记 1：自助注册 其他：非自助注册
     */

    @TableField("regtype")
    private String regtype;

    @TableField(exist = false)
    private String callsign;

    @TableField("aes_id")
    private Integer aesId;
    @TableField("last_id")
    private Long lastId;
    @TableField("wlastid")
    private Long wlastid;
    @TableField("vlastid")
    private Long vlastid;
    @TableField("mwlastid")
    private Long mwlastid;
    @TableField("anlastid")
    private Long anlastid;
    @TableField("maxlastid")
    private Long maxlastid;
    @TableField("openid")
    private String openid;
    @TableField("oversion")
    private Integer oversion;
    @TableField("oflag")
    private Integer oflag;
    @TableField(exist = false)
    private Integer mmsi;
    @TableField(exist = false)
    private String ffaVid;
    @TableField("otype")
    private String otype;
    private String token;
    @TableField("wtoken")
    private String wtoken;
    @TableField("vtoken")
    private String vtoken;
    @TableField("mwtoken")
    private String mwtoken;
    @TableField("token_time")
    private Date tokenTime;
    @TableField("wtoken_time")
    private Date wtokenTime;
    @TableField("vtoken_time")
    private Date vtokenTime;
    @TableField("mwtoken_time")
    private Date mwtokenTime;
    @TableField(exist = false)
    private String shipName;
    @TableLogic
    private Integer del;
    private String logo;
    @TableField("nick_name")
    private String nickName;
    @TableField("gender")
    private Integer gender;
    @TableField("autograph")
    private String autograph;
    @TableField("delete_time")
    private Date deleteTime;
    @TableField("deletor")
    private String deletor;
    @TableField(exist = false)
    private String conid;
    @TableField("ship_serial_id")
    private String shipSerialId;

    public String getShipSerialId() {
        return shipSerialId;
    }

    @TableField("company_id")
    private String companyId;

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public void setShipSerialId(String shipSerialId) {
        this.shipSerialId = shipSerialId;
    }

    /**
     * 限制文本长度（字符）
     */
    private Integer note;
    /**
     * 语音时长（秒）
     */
    private Integer voice;
    /**
     * 图片大小（M）
     */
    private Integer picture;
    /**
     * 文件大小（M）
     */
    private Integer file;
    /**
     * 权限是否已加载，0:未加载，1已加载
     */
    @TableField("auth_loaded")
    private Integer authLoaded;
    /**
     * 鱼种是否已加载，0:未加载，1已加载
     */
    @TableField("fish_loaded")
    private Integer fishLoaded;


    /**
     * 时区是否已加载，0:未加载，1已加载
     */
    @TableField("time_loaded")
    private Integer timeLoaded;
    /**
     * 航次是否已加载，0:未加载，1已加载
     */
    @TableField("trip_loaded")
    private Integer tripLoaded;
    /**
     * 国家是否已加载，0:未加载，1已加载
     */
    @TableField("country_loaded")
    private Integer countryLoaded;
    /**
     * 港口是否已加载，0:未加载，1已加载
     */
    @TableField("port_loaded")
    private Integer portLoaded;
    /**
     * 容量是否已加载，0:未加载，1已加载
     */
    @TableField("capacity_loaded")
    private Integer capacityLoaded;
    /**
     * 下发需要用户获取的航次
     */
    @TableField("trip_ids")
    private String tripIds;

    public String getTripIds() {
        return tripIds;
    }

    public void setTripIds(String tripIds) {
        this.tripIds = tripIds;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdator() {
        return updator;
    }

    public void setUpdator(String updator) {
        this.updator = updator;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getShipId() {
        return shipId;
    }

    public void setShipId(String shipId) {
        this.shipId = shipId;
    }

    public String getRegtype() {
        return regtype;
    }

    public void setRegtype(String regtype) {
        this.regtype = regtype;
    }

    public String getCallsign() {
        return callsign;
    }

    public void setCallsign(String callsign) {
        this.callsign = callsign;
    }

    public Integer getAesId() {
        return aesId;
    }

    public void setAesId(Integer aesId) {
        this.aesId = aesId;
    }

    public Long getLastId() {
        return lastId;
    }

    public void setLastId(Long lastId) {
        this.lastId = lastId;
    }

    public Long getWlastid() {
        return wlastid;
    }

    public void setWlastid(Long wlastid) {
        this.wlastid = wlastid;
    }

    public Long getVlastid() {
        return vlastid;
    }

    public void setVlastid(Long vlastid) {
        this.vlastid = vlastid;
    }

    public Long getMwlastid() {
        return mwlastid;
    }

    public void setMwlastid(Long mwlastid) {
        this.mwlastid = mwlastid;
    }

    public Long getAnlastid() {
        return anlastid;
    }

    public void setAnlastid(Long anlastid) {
        this.anlastid = anlastid;
    }

    public Long getMaxlastid() {
        return maxlastid;
    }

    public void setMaxlastid(Long maxlastid) {
        this.maxlastid = maxlastid;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public Integer getOversion() {
        return oversion;
    }

    public void setOversion(Integer oversion) {
        this.oversion = oversion;
    }

    public Integer getOflag() {
        return oflag;
    }

    public void setOflag(Integer oflag) {
        this.oflag = oflag;
    }

    public Integer getMmsi() {
        return mmsi;
    }

    public void setMmsi(Integer mmsi) {
        this.mmsi = mmsi;
    }

    public String getFfaVid() {
        return ffaVid;
    }

    public void setFfaVid(String ffaVid) {
        this.ffaVid = ffaVid;
    }

    public String getOtype() {
        return otype;
    }

    public void setOtype(String otype) {
        this.otype = otype;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getWtoken() {
        return wtoken;
    }

    public void setWtoken(String wtoken) {
        this.wtoken = wtoken;
    }

    public String getVtoken() {
        return vtoken;
    }

    public void setVtoken(String vtoken) {
        this.vtoken = vtoken;
    }

    public String getMwtoken() {
        return mwtoken;
    }

    public void setMwtoken(String mwtoken) {
        this.mwtoken = mwtoken;
    }

    public Date getTokenTime() {
        return tokenTime;
    }

    public void setTokenTime(Date tokenTime) {
        this.tokenTime = tokenTime;
    }

    public Date getWtokenTime() {
        return wtokenTime;
    }

    public void setWtokenTime(Date wtokenTime) {
        this.wtokenTime = wtokenTime;
    }

    public Date getVtokenTime() {
        return vtokenTime;
    }

    public void setVtokenTime(Date vtokenTime) {
        this.vtokenTime = vtokenTime;
    }

    public Date getMwtokenTime() {
        return mwtokenTime;
    }

    public void setMwtokenTime(Date mwtokenTime) {
        this.mwtokenTime = mwtokenTime;
    }

    public String getShipName() {
        return shipName;
    }

    public void setShipName(String shipName) {
        this.shipName = shipName;
    }

    public Integer getDel() {
        return del;
    }

    public void setDel(Integer del) {
        this.del = del;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getAutograph() {
        return autograph;
    }

    public void setAutograph(String autograph) {
        this.autograph = autograph;
    }

    public Date getDeleteTime() {
        return deleteTime;
    }

    public void setDeleteTime(Date deleteTime) {
        this.deleteTime = deleteTime;
    }

    public String getDeletor() {
        return deletor;
    }

    public void setDeletor(String deletor) {
        this.deletor = deletor;
    }

    public String getConid() {
        return conid;
    }

    public void setConid(String conid) {
        this.conid = conid;
    }

    public Integer getNote() {
        return note;
    }

    public void setNote(Integer note) {
        this.note = note;
    }

    public Integer getVoice() {
        return voice;
    }

    public void setVoice(Integer voice) {
        this.voice = voice;
    }

    public Integer getPicture() {
        return picture;
    }

    public void setPicture(Integer picture) {
        this.picture = picture;
    }

    public Integer getFile() {
        return file;
    }

    public void setFile(Integer file) {
        this.file = file;
    }

    public Integer getAuthLoaded() {
        return authLoaded;
    }

    public void setAuthLoaded(Integer authLoaded) {
        this.authLoaded = authLoaded;
    }

    public Integer getFishLoaded() {
        return fishLoaded;
    }

    public void setFishLoaded(Integer fishLoaded) {
        this.fishLoaded = fishLoaded;
    }

    public Integer getTimeLoaded() {
        return timeLoaded;
    }

    public void setTimeLoaded(Integer timeLoaded) {
        this.timeLoaded = timeLoaded;
    }

    public Integer getTripLoaded() {
        return tripLoaded;
    }

    public void setTripLoaded(Integer tripLoaded) {
        this.tripLoaded = tripLoaded;
    }

    public Integer getCountryLoaded() {
        return countryLoaded;
    }

    public void setCountryLoaded(Integer countryLoaded) {
        this.countryLoaded = countryLoaded;
    }

    public Integer getPortLoaded() {
        return portLoaded;
    }

    public void setPortLoaded(Integer portLoaded) {
        this.portLoaded = portLoaded;
    }

    public Integer getCapacityLoaded() {
        return capacityLoaded;
    }

    public void setCapacityLoaded(Integer capacityLoaded) {
        this.capacityLoaded = capacityLoaded;
    }

    @Override
    protected Serializable pkVal() {
        return null;
    }
}
